package com.ax.springcloudconfigserver;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;


@SpringBootApplication
@EnableConfigServer
@EnableEurekaClient
public class RemoteConfigServerApplication {
	public static void main(String[] args) {
		new SpringApplicationBuilder(RemoteConfigServerApplication.class).web(true).run(args);
//		SpringApplication.run(SpringCloudConfigServerApplication.class, args);
	}
}
